package router

import (
	"SimpleLogin/controller"
	"github.com/gin-gonic/gin"
)

func InitRouter(gin *gin.Engine) {

	userController := &controller.UserController{}

	userGroup := gin.Group("/user")
	userGroup.POST("/login", userController.UserLogin)
	userGroup.POST("/register", userController.UserRegister)
}
